Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: split icons to packages #255

Merged
merged 11 commits into from
May 16, 2024

Conversation

dalechyn
Copy link
Collaborator

@dalechyn dalechyn commented Apr 14, 2024

Should fix #240 by decreasing the bundle size by splitting icons in multiple proxy packages.

As of now, all icons are imported even if just one set is used.

This will reduce the bundle size as `icons.ts` non-gzipped weights
around 1.2MB and is always being imported when `frog/ui` package is
used.
We can improve the bundle size by splitting the icons into different
packages, having just one collection imported by default – lucide.
Copy link

vercel bot commented Apr 14, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
frog ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 16, 2024 1:40pm
frog-frame ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 16, 2024 1:40pm

Copy link

vercel bot commented Apr 14, 2024

@dalechyn is attempting to deploy a commit to the wevm Team on Vercel.

A member of the Team first needs to authorize it.

src/ui/Icon.tsx Outdated Show resolved Hide resolved
src/package.json Show resolved Hide resolved
site/pages/ui/ui-system.mdx Outdated Show resolved Hide resolved
site/pages/ui/createSystem.mdx Outdated Show resolved Hide resolved
site/pages/ui/createSystem.mdx Outdated Show resolved Hide resolved
site/pages/ui/Icon.mdx Outdated Show resolved Hide resolved
site/pages/ui/Icon.mdx Outdated Show resolved Hide resolved
playground/src/ui-system.tsx Outdated Show resolved Hide resolved
.changeset/many-schools-reflect.md Outdated Show resolved Hide resolved
@tmm tmm merged commit 752ccab into wevm:main May 16, 2024
4 of 9 checks passed
@github-actions github-actions bot mentioned this pull request May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
D: Medium Difficulty: Medium P: Medium Priority: Medium T: Refactor Type: Refactor T: Tech Debt Type: Tech Debt
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wrangler Deploy Fails After Adding FrogUI
2 participants